<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link href='/pintuan/Public/Member/css/global.css' rel='stylesheet' type='text/css' />


<!-- 整体页面布局 -->
<link href='/pintuan/Public/Member/css/main.css' rel='stylesheet' type='text/css' />
<link href='/pintuan/Public/Member/css/mall.css' rel='stylesheet' type='text/css' />

<!-- 基础js调用 -->
<script type='text/javascript' src='/pintuan/Public/Member/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='/pintuan/Public/Member/js/global.js'></script>
<script type='text/javascript' src='/pintuan/Public/Member/js/mall.js'></script>





<link href='/pintuan/Public/Member/css/wechat.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='/pintuan/Public/Member/js/wechat.js'></script>
<script type="text/javascript" src="/pintuan/Public/Member/js/operamasks-ui.min.js"></script>


<!-- 单日期日历插件 -->
<link href="/pintuan/Public/Member/css/datepicker.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/pintuan/Public/Member/js/datepicker.js"></script>

<!-- 双日期日历插件 -->
<link href='/pintuan/Public/Member/css/daterangepicker.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='/pintuan/Public/Member/js/moment.min.js'></script>
<script type='text/javascript' src='/pintuan/Public/Member/js/daterangepicker.js'></script>

<script type='text/javascript'>
var web_domain='/pintuan';
var static_domain='/pintuan';
var img_domain='/pintuan';
var _PUBLIC_ = '/pintuan/Public';
var _FILE_ = '<?php echo U('Index/ajaxFileUpload');?>';
var domain={
        www:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        static:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        img:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        file:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        kf:'<?php echo C('WEB_ABSOLUTE_URL');?>'
};
</script>

<script type="text/javascript" src="/pintuan/Public/Member/api/js/product.js"></script>


<script type="text/javascript" src="/pintuan/Public/Member/api/js/product.js"></script>
<script language="javascript">$(document).ready(product_obj.product_liucheng);</script> 


	<script type="text/javascript" charset="utf-8" src="/pintuan/Public/Member/js/plugin/ckfinder/ckfinder.js"></script>
	<script type="text/javascript" charset="utf-8" src="/pintuan/Public/Member/api/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/pintuan/Public/Member/api/ueditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/pintuan/Public/Member/api/ueditor/lang/zh-cn/zh-cn.js"></script>
	<script>	
	var ue = UE.getEditor('editor');
	</script>

</head>

<body>
    <div id="iframe_page">
        <div class="iframe_content">
            <div class="r_nav">
                <ul>
                  <li class="<?php if((ACTION_NAME) == "index"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/index');?>">拼团订单</a></li>
	              <li class="<?php if((ACTION_NAME) == "list_product"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/list_product');?>">产品列表</a></li>
	              <li class="<?php if((ACTION_NAME) == "list_tuan"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/list_tuan');?>">成团列表</a></li>
	              <li class="<?php if((ACTION_NAME) == "liucheng"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/liucheng');?>">购物规则</a></li>
              	  <li class="<?php if((ACTION_NAME) == "list_tui"): ?>cur<?php endif; ?>"><a href="<?php echo U('Pintuan/list_tui');?>">退款列表</a></li>
               </ul>
            </div>
            

<div id="news" class="r_con_wrap">
	<form id="liucheng_form" class="r_con_form" >
		<div class="rows">
        	<label>过期时间</label>
        	<span class="input"><input type="text" name="expiredtime" value=<?php if($processarr["expiredtime"] == 0): ?>0<?php elseif($processarr["expiredtime"] == null): ?>0<?php else: echo ($processarr["expiredtime"]); endif; ?> onkeyup="value=value.replace(/[^\d]/g,'') "> 注：0为无限期，1~24分别代表过期时间1~24小时</span>
        	<div class="clear"></div>
	    </div>
	    <div class="rows">
        	<label>是否邮寄</label>
        	<span class="input">
        		<select name="ispost">
        			<option value="">--请选择--</option>
        			<option value="0" <?php if(($processarr["ispost"]) == "0"): ?>selected<?php endif; ?>>否</option>
        			<option value="1" <?php if(($processarr["ispost"]) == "1"): ?>selected<?php endif; ?>>是</option>
        		</select>
        	</span>
        	<div class="clear"></div>
	    </div>
        <div class="rows">
        	<label>购物规则</label>
        	<span class="input"><textarea id="editor"  class="myEditor" name="description" ><?php echo ($processarr["description"]); ?></textarea></span>
        	<div class="clear"></div>
	    </div>
        <div class="rows">
	        <label></label>
	        <span class="input"><input type="button" class="btn_green" name="submit_button" value="提交保存" /><a href="<?php echo U('index');?>" class="btn_gray">返回</a></span>
	        <div class="clear"></div>
	    </div>
	   <input type="hidden" name="id" value="<?php echo ($processarr["id"]); ?>">
	</form>
</div>  

         </div>
	</div>
</body>
</html>